<?php
use lib\controller\Controller;


class TelefonoController extends Controller{

	public function init(){
		$this->Model = false;
		parent::init();
	}

	public function index(){
		$telefono='099993999';
		$client = new Zend_XmlRpc_Client('http://local.rpc.com/');
 		$result=$client->call('rpc.datos',array($telefono));
 		if(!is_null($result)){
 			echo $result['nombre'];
 		}
	}
  
}